// Var.h: interface for the Var class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_VAR_H__8A9135A4_0A85_4CEF_9CFE_1F2097E27487__INCLUDED_)
#define AFX_VAR_H__8A9135A4_0A85_4CEF_9CFE_1F2097E27487__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ComplierNote.h"

class Var : public ComplierNote  
{
public:
	Var();
	virtual ~Var();

public:
	virtual BOOL Interpret();
	virtual Variable Execute();
	Variable* GetVariablePtr(){
		return m_pVariable;
	}

private:
	BOOL IsString(CString& strTemp);
	BOOL GetVariable(CString& strTemp);
	CString LegalString(CString& strTemp);

private:
	Variable* m_pVariable;
	Variable m_var;
};

#endif // !defined(AFX_VAR_H__8A9135A4_0A85_4CEF_9CFE_1F2097E27487__INCLUDED_)
